package com.example.neusoftfood_828lhl.activity;

import com.example.neusoftfood_828lhl.R;
import com.example.neusoftfood_828lhl.listener.RetrofitListener;

public class FoodListActivity extends BaseActivity implements RetrofitListener {
    void initViews(){
        setLayout(R.layout.activity_food_list);
    }


    private void getFoodList(){

    }
    @Override
    void initEvents() {

    }

    @Override
    void initData() {

    }


    @Override
    public void onSuccess(Object o, int flag) {
        switch (flag)
        {
            case 5:
//获取店铺的菜谱列表
                break;
            case 6:
//获取店铺的收藏状态
                break;
            case 7:
//对店铺的收藏信息进行修改
                break;
        }
    }

    @Override
    public void onFail() {
        showToast("网络错误");
    }
}
